Code Formatting in Posts

When Posting, will folks please display DXL code inside a format box. Do that by surrounding your code with the word 'code' which is itself surrounded by open and closing braces {}. Looks like {co de} without the space.
 

for lnk in o->"*" do
{  oTarget = target(lnk)
   if (null oTarget) read(fullName(target i), false, true)
   bla bla bla
}


looks a lot better than this:
for lnk in o->"*" do
{ oTarget = target(lnk)
if (null oTarget) read(fullName(target i), false, true)
bla bla bla
}

 

  • Louie

 


llandale - Fri Jan 22 14:43:18 EST 2010

Re: Code Formatting in Posts
kbmurphy - Fri Jan 22 18:41:42 EST 2010

I am going to try to do as Louie suggests using Safari on Windows.
 

//here is my code
ack "This worked."

 


I believe I've tried this before and had problems...but if it works I'll be more diligent about it in the future.

In Safari, I can't preview. I can only post. Here goes....

 

Re: Code Formatting in Posts
llandale - Sun Jan 24 16:35:29 EST 2010

kbmurphy - Fri Jan 22 18:41:42 EST 2010

I am going to try to do as Louie suggests using Safari on Windows.
 

//here is my code
ack "This worked."

 


I believe I've tried this before and had problems...but if it works I'll be more diligent about it in the future.

In Safari, I can't preview. I can only post. Here goes....

 

Safari?

Lately, the preview button has been gone for me also.

  • Louie

Re: Code Formatting in Posts
kbmurphy - Mon Jan 25 19:34:33 EST 2010

llandale - Sun Jan 24 16:35:29 EST 2010
Safari?

Lately, the preview button has been gone for me also.

  • Louie

Safari, from Apple. All the cool kids are using it. ;)

Re: Code Formatting in Posts
llandale - Tue Jan 26 12:50:27 EST 2010

llandale - Sun Jan 24 16:35:29 EST 2010
Safari?

Lately, the preview button has been gone for me also.

  • Louie

I figured out the lost 'preview' button. When I use 'http://www.bla.bla.bla' I don't get the option, but when I use 'secured' httpS: 'https:/www.bla.bla.bla' it works. Changed the properties in my Favorites, life is good.

Sometimes I have to show blocked content; very annoying.

  • Louie

Re: Code Formatting in Posts
SystemAdmin - Wed Jan 27 01:33:29 EST 2010

llandale - Tue Jan 26 12:50:27 EST 2010
I figured out the lost 'preview' button. When I use 'http://www.bla.bla.bla' I don't get the option, but when I use 'secured' httpS: 'https:/www.bla.bla.bla' it works. Changed the properties in my Favorites, life is good.

Sometimes I have to show blocked content; very annoying.

  • Louie

Having to manually add the "s" to http just see the preview tab is completely weird. This is a bug - IBM needs to fix it - are there any budding IBM people out there that can confirm that this is being looked at?


Paul Miller

Re: Code Formatting in Posts
llandale - Wed Jan 27 13:02:01 EST 2010

SystemAdmin - Wed Jan 27 01:33:29 EST 2010
Having to manually add the "s" to http just see the preview tab is completely weird. This is a bug - IBM needs to fix it - are there any budding IBM people out there that can confirm that this is being looked at?


Paul Miller

You only need to add 's' to the initial favorite. The clicked links conform to that.

For the DXL forum, change:
    http://www.ibm.com/developerworks/forums/forum.jspa?forumID=1527&start=0
to:
    https://www.ibm.com/developerworks/forums/forum.jspa?forumID=1527&start=0

 


I'm getting security certificate errors now, not sure what to think about that. I notice today I no longer see the 'rich text' tab.

 

 

 

  • Louie

 

 

Re: Code Formatting in Posts
Peter.Dawson - Thu Jan 28 22:26:10 EST 2010

llandale - Wed Jan 27 13:02:01 EST 2010

You only need to add 's' to the initial favorite. The clicked links conform to that.

For the DXL forum, change:
    http://www.ibm.com/developerworks/forums/forum.jspa?forumID=1527&start=0
to:
    https://www.ibm.com/developerworks/forums/forum.jspa?forumID=1527&start=0

 


I'm getting security certificate errors now, not sure what to think about that. I notice today I no longer see the 'rich text' tab.

 

 

 

  • Louie

 

 

{rant} I can't say that I am the biggest fan of developerWorks. The site is slow for me and feels old and clunky. Thought at least its not as bad as the shamefully atrocious HP forums and website.

The frustrating thing with devWorks is that sometimes I see a legend key on the right hand side with all the useful tags explained. But I don't know where the legend is now. It certainly isn't here while I type this.
{rant}

Re: Code Formatting in Posts
Peter.Dawson - Thu Jan 28 22:28:01 EST 2010

Peter.Dawson - Thu Jan 28 22:26:10 EST 2010
{rant} I can't say that I am the biggest fan of developerWorks. The site is slow for me and feels old and clunky. Thought at least its not as bad as the shamefully atrocious HP forums and website.

The frustrating thing with devWorks is that sometimes I see a legend key on the right hand side with all the useful tags explained. But I don't know where the legend is now. It certainly isn't here while I type this.
{rant}

Oh.... and why can't I edit my own posts!!!

Hey what do you know... the "Plain Text Help" legend just decided to appear on the right hand side of the screen this time!

Re: Code Formatting in Posts
llandale - Fri Jan 29 12:17:56 EST 2010

Peter.Dawson - Thu Jan 28 22:28:01 EST 2010
Oh.... and why can't I edit my own posts!!!

Hey what do you know... the "Plain Text Help" legend just decided to appear on the right hand side of the screen this time!

Try surrounding your Rants with {rant}, then other folks can delete it.

  • lol